package com.chart.chart.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chart.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 图表收费套餐信息表 chart_paid_package
 *
 * @author ruoyi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChartPaidPackage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 参数主键
     */
    @TableId(value = "package_id", type = IdType.ASSIGN_ID)
    private Long packageId;

    /**
     * 套餐名称
     */
    private String packageName;

    /**
     * 套餐内容
     */
    private String packageContent;


    /**
     * 有效期
     */
    private Long packageValue;


    /**
     * 总价
     */
    private BigDecimal totalPrice;

    /**
     * 原价
     */
    private BigDecimal originalPrice;

    /**
     * 原价
     */
    private String packageColor;


    /**
     * 状态（0正常 1关闭）
     */
    private Integer status;

    @TableField(exist = false)
    private Long orderId;

    private Integer defaultSelect;

    private String description;


    private Integer isPresenter;
    private Integer type;


    private Integer coinCount;

    private Double exchangeRate;

    private Integer isCustom;


}
